<html>
	<head>
		<title>Gerando Excel...</title>
		<style type="text/css">
			body{font-family: Verdana;}
			fieldset {width:40%;margin:0 auto; margin-bottom: 50px;}
			legend{color:#FF0000;font-weight:bold;}
			label {font-weight:bold;}
			input {height:40px;width:200px;font-size:larger;margin-top:10px;}
		</style>
	</head>
	 
	<body>		
		<form method="post" action="gerar_excel.php">
			<fieldset>
				<legend>CONEXAO COM BANCO DE DADOS</legend>
				<table>
					<tr>
						<td><label for="host">Host: </label></td>
						<td><input type="text" id="host" name="host" size="40"></td>
					</tr>
					<tr>
						<td><label for="user">Usuario: </label></td>
						<td><input type="text" id="user" name="user" size="40"></td>
					</tr>
					<tr>
						<td><label for="password">Senha: </label></td>
						<td><input type="password" id="password" name="password" size="40"></td>
					</tr>
					<tr>
						<td><label for="db">DB: </label></td>
						<td><input type="text" id="db" name="db" size="40"></td>
					</tr>
				</table>
			</fieldset>
			
			<fieldset>
				<legend>CONSULTA SQL</legend>
				<textarea name="consulta" cols="60" rows="25"></textarea>
				<input type="submit" name="gerar" value="Gerar Excel" >	
			</fieldset>		
		</form>
	</body>
</html>